<?php
/*@var $this yii\web\view */
/*@var $form yii\widgets\ActiveForm */
use yii\widgets\ActiveForm;
use yii\helpers\Html;
use frontend\models\City;
use yii\helpers\ArrayHelper;
$this->title='收货地址';
?>
<?php 
$form=ActiveForm::begin();
?>
<?=$form->field($model, 'RecMan')->textInput() ?><br />
<?=$form->field($model, 'Tel')->textInput() ?><br />

<?=$form->field($model, 'province')->dropDownList(
	$province,[
	'style'=>'width:150px',
	'prompt'=>'请选择省',
	
     ]); ?>
<?=$form->field($model, 'city')->dropDownList(
	['prompt'=>'请选择市',],[
		'style'=>'width:150px',
   ])->label(false); ?>
<?=$form->field($model, 'area')->dropDownList(['prompt'=>'请选择县'],[
        'style'=>'width:150px',
        ])->label(false); ?>
<br />
<?=$form->field($model, 'address')->textInput() ?><br />
<?=$form->field($model, 'PostCode')->textInput() ?>
<?=$form->field($model, 'IsDefault')->checkbox() ?>
<?=Html::submitButton('提交') ?>
<?=Html::resetButton('重置') ?>
<?php 
ActiveForm::end();
?>

